package org.elip.stewiemaze.client;

import org.elip.stewiemaze.shared.entities.Player;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface DatastoreServiceAsync {
	
	void retrievePlayer(String nickname, String password, AsyncCallback<Player> callback);
	
	void retrieveRecordsTable(AsyncCallback<String[]> callback);
	
	void updateScore(String nickname, String newScore, AsyncCallback<String[]> callback);
	
	void retrieveFacebookPlayer(String name, AsyncCallback<Player> callback);

}
